using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoreData;
using Services;
using Helper;
using System.Data;
namespace ActionServices
{

    public interface IStudent_FeeTimeActionService:BaseActionService
    {
        long Save(object _model);
        IList<CoreData.Student_FeeTime> GetListByLINQ(Func<CoreData.Student_FeeTime, Boolean> _where);
        CoreData.Student_FeeTime GetOneByLINQ(Func<CoreData.Student_FeeTime, Boolean> _where);
        bool Delete(object _model);
        Student_FeeTime GetByStudentID(long StudentID);
        Student_FeeTime GetStudentFeeTimeByStudentIDAndType(long studentid, int type);
        DataTable GetStudentFeeTimeByStudentIDAndTypeReturnDatatable(long studentid, int type);
    }

    public partial class Student_FeeTimeActionService:IStudent_FeeTimeActionService
    {
       Student_FeeTimeService Service;

       public Student_FeeTimeActionService()
       {
           Service = new Student_FeeTimeService();
       }

       #region Main Method

       public virtual long Save(object _model)
       {
           return Service.Save(_model);
       }

       public virtual object GetByID(long _id)
       {
           return Service.GetByID(_id);
       }

       public virtual object GetList()
       {
           return Service.GetList();
       }

       public virtual IList<CoreData.Student_FeeTime> GetListByLINQ(Func<CoreData.Student_FeeTime, Boolean> _where)
       {
           return Service.GetListByLINQ(_where);
       }

       public virtual CoreData.Student_FeeTime GetOneByLINQ(Func<CoreData.Student_FeeTime, Boolean> _where)
       {
           return Service.GetOneByLINQ(_where);
       }

       public virtual object GetList(string _searchstring)
       {
           return Service.GetList(_searchstring);
       }

       public virtual bool Delete(object _model)
       {
           return Service.Delete(_model);
       }

       #endregion


        #region Other Method

        public virtual Student_FeeTime GetByStudentID(long StudentID)
       {
           return Service.GetByStudentID(StudentID);
        }

        public virtual Student_FeeTime GetStudentFeeTimeByStudentIDAndType(long studentid, int type)
        {
            return Service.GetStudentFeeTimeByStudentIDAndType(studentid, type);
        }
        public virtual DataTable GetStudentFeeTimeByStudentIDAndTypeReturnDatatable(long studentid, int type)
        {
            return Service.GetStudentFeeTimeByStudentIDAndTypeReturnDatatable(studentid, type);
    }
        #endregion

    }
         
}
